home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / Xt / XtAppAddBlockHook.z / XtAppAddBlockHook
Encoding:
Text File  |  1998-10-30  |  2.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXttttAAAAppppppppAAAAddddddddBBBBlllloooocccckkkkHHHHooooooookkkk((((3333XXXXtttt))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))XXXXttttAAAAppppppppAAAAddddddddBBBBlllloooocccckkkkHHHHooooooookkkk((((3333XXXXtttt))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XtAppAddBlockHook, XtRemoveBlockHook - register a block hook
  10.           procedure
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           XtBlockHookId XtAppAddBlockHook(_a_p_p__c_o_n_t_e_x_t, _p_r_o_c,
  14.           _c_l_i_e_n_t__d_a_t_a)
  15.                 XtAppContext _a_p_p__c_o_n_t_e_x_t;
  16.                 XtBlockHookProc _p_r_o_c;
  17.                 XtPointer _c_l_i_e_n_t__d_a_t_a;
  18.  
  19.           void XtRemoveBlockHook(_i_d_F_P)
  20.                 _X_t_B_l_o_c_k_H_o_o_k_I_d _i_d;
  21.  
  22.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  23.           _a_p_p__c_o_n_t_e_x_t
  24.                     Specifies the application context.
  25.  
  26.           _p_r_o_c      Specifies the block hook procedure.
  27.  
  28.           _n_u_m__a_r_g_s  Specifies the application-specific data to be
  29.                     passed to the block hook.
  30.  
  31.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  32.           _X_t_A_p_p_A_d_d_B_l_o_c_k_H_o_o_k registers the specified procedure and
  33.           returns an identifier for it.  The hook is called at any
  34.           time in the future when the Intrinsics are about to block
  35.           pending some input.
  36.  
  37.           Block hook procedures are removed automatically and the
  38.           _X_t_B_l_o_c_k_H_o_o_k_I_d is destroyed when the application context in
  39.           which they were added is destroyed.
  40.  
  41.           _X_t_R_e_m_o_v_e_B_l_o_c_k_H_o_o_k removes the specified block hook procedure
  42.           from the list in which it was registered.
  43.  
  44.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  45.           _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s - _C _L_a_n_g_u_a_g_e _I_n_t_e_r_f_a_c_e
  46.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.